﻿<UserControl x:Class="YodaSL.DoublesPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="480" xmlns:my="clr-namespace:YodaSL">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="*" />
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="1.5*"/>
            <RowDefinition Height="0" />
            <RowDefinition Height="6*"/>
            <RowDefinition Height="1*" />
            <RowDefinition Height="3*"/>
        </Grid.RowDefinitions>
        <TextBlock x:Name="DoublesName" Grid.ColumnSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="48" Text="Ervin - Göri" FontWeight="Bold" FontFamily="Arial Black" Foreground="#FF1A1ACB" />
        <my:PlayerPanel Grid.Row="2" x:Name="LeftPlayer"  LeftSide="True" Grid.ColumnSpan="2" />
        <my:PlayerPanel Grid.Column="2" Grid.Row="2" x:Name="RightPlayer" LeftSide="False" Grid.ColumnSpan="2" />
        <Button Content="won this point" Grid.Row="3" Name="button1" Grid.ColumnSpan="4" FontSize="26.667" Foreground="{StaticResource BlueText}" />
        <TextBlock Grid.Column="3"  Grid.Row="0" Name="GamesWon" Text="6" FontSize="64" FontWeight="ExtraBold" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#880F0F93" />
        <TextBlock Grid.ColumnSpan="4" Grid.Row="4" TextWrapping="Wrap" Text="40" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="96" FontFamily="Arial Black" Foreground="{StaticResource BlueText}"/>
    </Grid>
</UserControl>
